<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
</head>
<body>
<form action="/login/login/" method="post">
{#<form action="/student/index/" method="post">#}
    {% csrf_token %}
    <input type="text" name="name"><br>
    <input type="password" name="password"><br>
{#    <img src="../../media/photo.jpg" alt="" width="150px" height="50px">#}
    <a href="/login/login"><img src="../../media/photo.jpg" alt="" width="80px" height="30px"></a><br> <input type="text" placeholder="请输入验证码" name="verify">{{ message1 }}<br>
    <input type="text" name="letter" value="{{ letter }}">
{#    {{ img1 }}#}
{#    {{ letter }}<br>#}
    <input type="submit" value="登录">

</form>

{{ message }}
{#{% if message == '密码错误' %}#}
{#    #}
{#{% endif %}#}
</body>
</html>